#pragma once
#include "libzqutil/factory.h"
#include "handler_impl.h"

class SchemeList :
	public HandlerImpl
{
public:
	SchemeList() {}
	virtual response handle(App& app, const request& req) override;
};
FACTORY_REGISTER(HandlerImpl, SchemeList, "scheme.list");

class SchemeDetail :
	public HandlerImpl
{
public:
	SchemeDetail() {}
	virtual response handle(App& app, const request& req) override;
};
FACTORY_REGISTER(HandlerImpl, SchemeDetail, "scheme.detail");

class AccountFee :
	public HandlerImpl
{
public:
	AccountFee() {}
	virtual response handle(App& app, const request& req) override;
};
FACTORY_REGISTER(HandlerImpl, AccountFee, "account.fee");

class IssueList :
	public HandlerImpl
{
public:
	IssueList() {}
	virtual response handle(App& app, const request& req) override;
};
FACTORY_REGISTER(HandlerImpl, IssueList, "issue.list");

class IssueDetail :
	public HandlerImpl
{
public:
	IssueDetail() {}
	virtual response handle(App& app, const request& req) override;
};
FACTORY_REGISTER(HandlerImpl, IssueDetail, "issue.detail");